package com.TigerSun.tictactoeadventure;

import android.graphics.Point;
import android.view.Display;

public class BoardElementSet {
    private static final POS_FIRST_POINT;
    private static final POS_SECOND_POINT;
    private static final POS_THIRD_POINT;
    private static final POS_FOURTH_POINT;
    private static final float GAP_HORISONTAL_AHEAD = 5f;
    private static final float GAP_HORISONTAL_BEHIND = 5f;
    private static final float GAP_VERTICAL_AHEAD = 5f;
    private static final float GAP_VERTICAL_BEHIND = 5f;
    private static final float GAP_VERTICAL_INTERVAL = 5f;
    
    private final int screenWidth;
    private final int screenHeight;
    private float toPx(final float dp){
        // Get the screen's density scale
        final float scale = getResources().getDisplayMetrics().density;
        // Convert the dps to pixels, based on density scale
        return dp * scale;
    }
    private void getScreenSize(){
        Display display = getWindowManager().getDefaultDisplay();
        Point size = new Point();
        display.getSize(size);
        screenWidth = size.x;
        screenHeight = size.y;
    }
}
